/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.hagopa.games.moneypool.game;

/**
 *
 * @author igorg
 */
public class InterNegotiateState {
    private int _initiator = 0;
    private int _opponent = 0;
    private DealTypes _dealType; // 10 - sell, 20 - buy, 30 - exchange, 40 - partnership
    private boolean _dealState = false;
    private int _dealSum = 0;
    private int _dealPropId = 0;

    public void printState()
    {
        System.out.println("\n---InterNegotiateState----");
        System.out.println("Initiator:" + this._initiator);
        System.out.println("Deal Partner:" + this._opponent);
        System.out.println("Deal Type:" + this._dealType.getName());
        System.out.println("Deal Sum: " + this._dealSum);
        System.out.println("Deal Property Id:" + this._dealPropId);
        System.out.println("\n-----------END------------");
    }
    public void setInitiator(int inid)
    {
        this._initiator = inid;

    }
    public int getInitiator()
    {
        return this._initiator;
    }
    public void setOpponent(int opid)
    {
        this._opponent = opid;
    }
    public int getOpponent()
    {
        return this._opponent;
    }
    public void setDealType(DealTypes dt)
    {
        this._dealType = dt;
    }
    public DealTypes getDealType()
    {
        return this._dealType;
    }
    public void setDealStatus(boolean state)
    {
        this._dealState = state;
    }
    public boolean getDealStatus()
    {
        return this._dealState;
    }
    public void setDealSum(int sum)
    {
        this._dealSum = sum;
    }
    public int getDealSum()
    {
        return this._dealSum;
    }
    public void setDealProperty(int propId)
    {
        this._dealPropId = propId;
    }
    public int getDealProperty()
    {
        return this._dealPropId;
    }
}
